package com.mall.czlr.app;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableScheduling
@EnableAspectJAutoProxy(proxyTargetClass = true)
@ComponentScan(basePackages = {"com.mall.czlr.base", "com.mall.czlr.app"})
@MapperScan(basePackages = {"com.mall.czlr.app.dao"})
public class CzlrApplication {
    public static void main(String[] args) {
        SpringApplication.run(CzlrApplication.class, args);
    }
}

